package com.digitalchina.lxnsy.entity;

import com.bigkoo.pickerview.model.IPickerViewData;

import java.io.Serializable;

/**
 * Created by zhangyuze on
 * Describe
 */

public class PingZhongVo implements Serializable , IPickerViewData {

    public String id;
    public String createTime;
    public String updateTime;
    public String createdBy;
    public String updateBy;
    public Integer sort;
    public Integer status;
    public Integer version;
    public Integer shield;
    public String tenantCode;
    public ProductBean product;
    public String name;
    public String productId;

    @Override
    public String getPickerViewText() {
        return name;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public String getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(String updateTime) {
        this.updateTime = updateTime;
    }

    public String getCreatedBy() {
        return createdBy;
    }

    public void setCreatedBy(String createdBy) {
        this.createdBy = createdBy;
    }

    public String getUpdateBy() {
        return updateBy;
    }

    public void setUpdateBy(String updateBy) {
        this.updateBy = updateBy;
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getVersion() {
        return version;
    }

    public void setVersion(Integer version) {
        this.version = version;
    }

    public Integer getShield() {
        return shield;
    }

    public void setShield(Integer shield) {
        this.shield = shield;
    }

    public String getTenantCode() {
        return tenantCode;
    }

    public void setTenantCode(String tenantCode) {
        this.tenantCode = tenantCode;
    }

    public ProductBean getProduct() {
        return product;
    }

    public void setProduct(ProductBean product) {
        this.product = product;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getProductId() {
        return productId;
    }

    public void setProductId(String productId) {
        this.productId = productId;
    }

    public static class ProductBean implements Serializable{
        public String id;
        public String createTime;
        public String updateTime;
        public String createdBy;
        public String updateBy;
        public Integer sort;
        public Integer status;
        public Integer version;
        public Integer shield;
        public String tenantCode;
        public TypeBean type;
        public String name;
        public Object breedList;
        public String typeName;
        public String typeCode;


        public static class TypeBean implements Serializable{
            public String id;
            public String createTime;
            public String updateTime;
            public Object createdBy;
            public Object updateBy;
            public Integer sort;
            public Integer status;
            public Integer version;
            public Integer shield;
            public String code;
            public String pcode;
            public String rcode;
            public String name;
            public String namePinyin;
            public String remark;
            public String level;
        }
    }
}
